package com.study.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author : zhuyanpeng.zhuyanpeng
 * @Description: :
 * @date :Create in  2019/9/10- 14:40
 * @Version: V1.0
 * @Modified By:
 **/
@Component
@Data
@ConfigurationProperties(prefix = "spring.datasource.test1")
public class DBConfig1 {
    private String url;
    private String username;
    private String password;
    private String type;
    private String driverClassName;
    private Integer minPoolSize;
    private Integer maxPoolSize;

}
